import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Homepage from '@/components/pubPage/home'
import gywm from '@/components/pagination/gywm'
import rczp from '@/components/pagination/rczp'
import gsdt from '@/components/pagination/gsdt'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      component: Homepage,
      children:[
        {
          path:'/',
          component:gywm
        },
        {
          path:'gywm',
          component:gywm
        },
        {
          path:'rczp',
          component:rczp
        },
        {
          path:'gsdt',
          component:gsdt
        },
      ]
    }
  ]
})
